package cn.six1943.deepchat.module.ai.controller.admin.chatsession.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会话消息分页 Request VO")
@Data
public class ChatMsgPageReqVO extends PageParam {

    @Schema(description = "会话id", example = "10166")
    private Long sessionId;

    @Schema(description = "消息类型", example = "1")
    private String type;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "用户ID", example = "9861")
    private Long userId;

    @Schema(description = "key")
    private String imKey;

    @Schema(description = "输入token", example = "25496")
    private Integer inputTokenCount;

    @Schema(description = "输出token", example = "11934")
    private Integer outputTokenCount;

    @Schema(description = "总tokent", example = "26729")
    private Integer totalTokenCount;

    @Schema(description = "创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "状态", example = "2")
    private Integer status;

}